package com.atguigu.userconservice.service;

import com.atguigu.servicebase.VO.LoginVo;
import com.atguigu.servicebase.VO.RegisterVo;
import com.atguigu.userconservice.entity.Author;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2020-05-09
 */
public interface AuthorService extends IService<Author> {

    /**
     * 注册方法
     * @param registerVo
     */
    void registerInfo(RegisterVo registerVo);
    /**
     * 登陆方法
     * @param loginVo
     * @return
     */
    String logininfo(LoginVo loginVo);
    /**
     * 根据token获得用户信息
     * @param memberId
     * @return
     */
    Author getAuthorInfo(String memberId);


    void addauthoeinfo(Author author);
}
